//
//  MortgageModel.swift
//  TrafficViolation
//
//  Created by eaglelive on 2017/6/20.
//  Copyright © 2017年 eaglelive. All rights reserved.
//

import Foundation
import SwiftyJSON
class MortgageModel: NSObject {
    var ownerPhone:String = ""//联系电话
    var opUser:String = ""//办理人
    var ostatus:String = ""//订单状态1：待处理，2：处理中，3：完成
    var cardCity:String = ""//上牌城市
    var carOwner:String = ""//车主姓名
    var mileage:String = ""//行驶里程
    var cardTime:String = ""//上牌时间
    var optime:String = ""//处理时间
    var orderNo:String = ""//订单号
    var remark:String = ""//备注信息
    var subtime:String = ""//提交时间
    var subUser:String = ""//提交人
    var carType:String = ""//车型
    //初始化
    init(dict : JSON) {
        super.init()
        self.ownerPhone = dict["ownerPhone"].stringValue
        self.opUser = dict["opUserName"].stringValue
        self.ostatus = dict["ostatus"].stringValue
        self.cardCity = dict["cardCity"].stringValue
        self.carOwner = dict["carOwner"].stringValue
        self.mileage = dict["mileage"].stringValue
        self.cardTime = dict["cardTime"].stringValue
        self.optime = dict["optime"].stringValue
        self.orderNo = dict["orderNo"].stringValue
        self.remark = dict["remark"].stringValue
        self.subtime = dict["subtime"].stringValue
        self.subUser = dict["subUserName"].stringValue
        self.carType = dict["carType"].stringValue
    }
}
